Internet Stock Check Service

What is this?

This document describes how to send and receive stock checks via the internet.  This method of performing a stock check is primarily used by Ingram’s ordering software.

How do I send and receive Stock Checks?

Create a socket connection using the following information:

Host Address: anchordistributors.com
Remote Port: 5501

Send requests over the open port using simple text strings adhering to the Ingram request format.  Responses will be returned upon receipt of a request over the same communication channel.  These responses will also adhere to the Ingram request format.

How do I format a request string?

The request string field has the following format:

Request Header
Field Name Start Stop Length Contents
File Type 1 1 1 "1" = Request File Identifier
Bill To 2 8 7 SAN or Bill-To Account Number
Ship To 9 15 7 SAN or Ship-To Account Number
Password 16 23 8 Password

 

Request Data Format
Field Name Start Stop Length Contents
Request Type 24 27 4 “ISTK”
Version Level 28 28 1 “1”
Data Length 29 33 5 Total Length of Request Data. It should be padded with zeros.  For example, "00013" for a single item, or “00026” for two items, and so on.
Request Data 34 46 13 ISBN, UPC, or EAN.  Data should be left justified & padded with spaces. Up to 50 consecutive (padded) item codes can be sent in the same request.

Example 1: the following example shows an implementation of an ISTK request type for an ISBN of “0764533126”.

 String:

“112345677654321PASSWORDISTK1000130764533126  

Example 2: this example has five ISBNs in one transmission.

String:

“112345677654321PASSWORDISTK1000651111111111   2222222222   3333333333   4444444444   5555555555  

What codes are valid for lookups?

We accept ISBN, EAN13 and Speedy codes for lookup strings for an internet stock check.

What should I use for my account number?

We accept four account numbers to identify your store.

  
1)       Your Ship-to SAN number
    2)       Your Bill-to SAN number
    3)       Your Ship-to Account Number
    4)    Your Bill-to Account Number